Fix annotation of gtk_text_iter_(forward/backward)_search.
authorIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 23 Jun 2010 13:52:59 +0000 (15:52 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Thu, 24 Jun 2010 09:11:02 +0000 (11:11 +0200)
gtk/gtktextiter.c

index 752db11f6d55201d3e9ebe016a40842eafbd5b48..c31277105d2930228cec5a4edaa9e989635e5fcc 100644 (file)
@@ -4583,8 +4583,8 @@ strbreakup (const char *string,
  * @iter: start of search
  * @str: a search string
  * @flags: flags affecting how the search is done
- * @match_start: (allow-none): return location for start of match, or %NULL
- * @match_end: (allow-none): return location for end of match, or %NULL
+ * @match_start: (out caller-allocates) (allow-none): return location for start of match, or %NULL
+ * @match_end: (out caller-allocates) (allow-none): return location for end of match, or %NULL
  * @limit: (allow-none): bound for the search, or %NULL for the end of the buffer
  *
  * Searches forward for @str. Any match is returned by setting
@@ -4880,8 +4880,8 @@ lines_window_free (LinesWindow *win)
  * @iter: a #GtkTextIter where the search begins
  * @str: search string
  * @flags: bitmask of flags affecting the search
- * @match_start: (allow-none): return location for start of match, or %NULL
- * @match_end: (allow-none): return location for end of match, or %NULL
+ * @match_start: (out caller-allocates) (allow-none): return location for start of match, or %NULL
+ * @match_end: (out caller-allocates) (allow-none): return location for end of match, or %NULL
  * @limit: (allow-none): location of last possible @match_start, or %NULL for start of buffer
  *
  * Same as gtk_text_iter_forward_search(), but moves backward.